package cn.iocoder.yudao.framework.redis.core.model;

import org.springframework.context.ApplicationEvent;

/**
 * redis事件的消息内容基类
 *
 * @author: wds_prc
 * @since: 2024/8/2 16:56
 */
public class BaseRedisEvent extends ApplicationEvent {
    private String eventId = getClass().getName();

    public BaseRedisEvent() {
        super(new Object());
    }

    public BaseRedisEvent(Object source) {
        super(source);
    }

    public String getEventId() {
        return eventId;
    }

    public void setEventId(String eventId) {
        this.eventId = eventId;
    }
}
